<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header">
</head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm" method="post" enctype="multipart/form-data">

							<input type="hidden" id="type" name="type" th:value="${type}"/>
							<input type="hidden" id="tableId" name="tableId" th:value="${tableId}"/>
							<div class="form-group">
								<label class="col-sm-2 control-label">文件类型：<i style="color: red;">*</i></label>
								<div class="col-sm-4">
									<select id="fileTag" name="fileTag" data-placeholder="请选择文件类型"
											class="col-sm-4 form-control chosen-select "
											tabindex="2" style="width: 100%"> <i style="color: red;">*</i>
										<option th:each="busDict:${busDictList}"
												th:value="${busDict.value}"
												th:text="${busDict.name}"></option>
									</select>
								</div>
							</div>

							<div class="form-group">
								<label class="col-sm-2 control-label">文件名称：</label>
								<div class="col-sm-3">
									<input id="fileupload" type="file" name="file" style="display:none;" />
									<input type='text' class="form-control" name='textfield' id='textfield' readonly="readonly"/>
								</div>
								<div class="col-sm-1">
									<input id="excelImport" type="button" value="上传" class="btn btn-success"/>
								</div>
							</div>

							<div class="form-group">
								<div class="col-sm-12 col-sm-offset-6">
									<button type="button" class="btn btn-primary" onclick="uploadFile()" >提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
<div th:include="include :: footer"></div>
<link href="/css/layui.css" rel="stylesheet">
<script src="/js/layui.js"></script>
<script type="text/javascript" src="/js/appjs/common/file/uploadFile.js"></script>
</body>
</html>